package com.apache.flow.core.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.apache.flow.core.dao.FlowInitDao;

@Service
public class FlowInitManager {
	@Autowired
	private FlowInitDao flowInitDao;

	/**
	 * 
	 * @param deployment  流程发布Id
	 * @param name  文件名
	 * @param blob_value  blob值
	 * @return
	 * <p>@description 更新流程定义文件
	 * <p>@version 1.0
	 * <p>@author lvcai
	 * <p>@update 2013-7-29 下午04:06:08
	 */
	public void update(String deployment, String name, String blob_value) {
		flowInitDao.update(deployment, name, blob_value);
	}

}
